package com.bitspilani.infonet.bo;


public class RiskResponse {
private String status;
private String error;
private float speedLimit;
private boolean riskExists;
private float riskDistance;
private Location riskLocation;

	public RiskResponse(){}

	/**
	 * @return the status
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(String status) {
		this.status = status;
	}

	/**
	 * @return the error
	 */
	public String getError() {
		return error;
	}

	/**
	 * @param error the error to set
	 */
	public void setError(String error) {
		this.error = error;
	}



	/**
	 * @param riskExists the riskExists to set
	 */
	public void setRiskExists(boolean riskExists) {
		this.riskExists = riskExists;
	}



	/**
	 * @return the speedLimit
	 */
	public float getSpeedLimit() {
		return speedLimit;
	}

	/**
	 * @param speedLimit the speedLimit to set
	 */
	public void setSpeedLimit(float speedLimit) {
		this.speedLimit = speedLimit;
	}

	/**
	 * @return the riskDistance
	 */
	public float getRiskDistance() {
		return riskDistance;
	}

	/**
	 * @param riskDistance the riskDistance to set
	 */
	public void setRiskDistance(float riskDistance) {
		this.riskDistance = riskDistance;
	}

	/**
	 * @return the riskLocation
	 */
	public Location getRiskLocation() {
		return riskLocation;
	}

	/**
	 * @param riskLocation the riskLocation to set
	 */
	public void setRiskLocation(Location riskLocation) {
		this.riskLocation = riskLocation;
	}

	public boolean isRiskExists() {
		return riskExists;
	}
}
